package com.daJiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daJiao.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    int batchDeleteByRoleId(@Param("roleId") String roleId);

    List<SysRoleMenu> getMenuByRoleIds(@Param("roleIds") List<String> roleIds);
}